#include "Stack.h"

void StackTest1()
{
	ST st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	StackPrint(&st);

	StackPop(&st);
	StackPop(&st);
	StackPrint(&st);

	STDataType topData = StackTop(&st);
	printf("%d\n", topData);

	int length = StackSize(&st);
	printf("%d\n", length);

	int Bool = StackEmpty(&st);
	printf("%d\n", Bool);

	StackDestroy(&st);
}

int main()
{
	StackTest1();

	return 0;
}